package com.jack.xiaoer.dto;

import java.util.List;

/**
 * Created by Jackaroo Zhang on 2018/12/10.
 */
public class FileDTO {

    private String oldName;

    private String newName;

    private String url;

    public FileDTO() {
    }

    public FileDTO(String oldName) {
        this.oldName = oldName;
    }

    public FileDTO(String newName, String url) {
        this.newName = newName;
        this.url = url;
    }

    public FileDTO(String oldName, String newName, String url) {
        this.oldName = oldName;
        this.newName = newName;
        this.url = url;
    }

    @Override
    public String toString() {
        return "FileDTO{" +
                "oldName='" + oldName + '\'' +
                ", newName='" + newName + '\'' +
                ", url='" + url + '\'' +
                '}';
    }

    public String getOldName() {
        return oldName;
    }

    public void setOldName(String oldName) {
        this.oldName = oldName;
    }

    public String getNewName() {
        return newName;
    }

    public void setNewName(String newName) {
        this.newName = newName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
